package arina.university.dao;


import arina.university.errorhandling.DAOException;
import arina.university.model.Student;

import java.util.Collection;

/**
 * Created with IntelliJ IDEA.
 * User: user
 * Date: 26.11.13
 * Time: 15:07
 * To change this template use File | Settings | File Templates.
 */
public interface StudentDAO {
    Student create(String name, int id, String enterDate)throws DAOException;

    void delete(int id) throws DAOException;

    void save(Student student) throws DAOException;

    Student find(int id) throws DAOException;

    Collection<Student> findAll() throws DAOException;


}
